package com.group02.community.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group02.community.entity.vo.VisitorVO;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface IVisitorService extends IService<VisitorVO> {


    void downloadExcel(HttpServletResponse response) throws IOException;

    List<VisitorVO> selectAllVisitors();

    IPage<VisitorVO> getVisitorPage(Long current, Long size,VisitorVO visitorVO);

    void  addVisitor(VisitorVO visitorVO);
}
